package com.yc.damai.biz;

public class CartBiz {

	private CartDao dao = new CartDao();
	
	public void addCart(Integer uid, String pid, String count) {
		if (dao.updateCount(uid, pid, count) == 0) {
			dao.insert(uid, pid, count);
		}
	}

}
